package com.zhuzi.entity.ths;

import com.zhuzi.jpa.ann.Comment;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@Entity
@Table(name = "ths_stock_gn")
public class ThsStockGnEntity implements Serializable {
    @Id
    @Comment("可转债代码")
    @Column(length = 10)
    private String bondId;

    @Column(length = 10)
    @Comment("可转债名称")
    private String bondNm;

    @Column(length = 10)
    private String stockId;

    @Column(length = 10)
    private String stockNm;

    @Column(name = "gn", columnDefinition = "TEXT")
    private String gn;

    @Comment("概念数量")
    private Integer gnNum;
}
